﻿using System.Web;
using System.Web.Optimization;

namespace Mulala.Cavan.Presentation.Mvc
{
    public class BundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-1.7.2.min.js",
                        "~/Scripts/jquery.json-2.2.min.js"));

            bundles.Add(new ScriptBundle("~/bundles/datepicker").Include(
                        "~/Scripts/DatePicker/WdatePicker.js"));

            bundles.Add(new ScriptBundle("~/bundles/edit").Include(
                        "~/Scripts/selectArea.js",
                        "~/Scripts/xhEditor/xheditor-1.1.14-zh-cn.min.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
                        "~/Scripts/jquery-ui-1.8.11.min.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/fileUpload").Include(
                        "~/Scripts/FileUpload/ajaxfileupload.js",
                        "~/Scripts/FileUpload/jquery.Jcrop.js"));

            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/main/index").Include(
                       "~/Scripts/Main/index.js",
                       "~/Scripts/Main/search.js"));

            bundles.Add(new ScriptBundle("~/bundles/corporationcenter").Include(
                      "~/Scripts/divselect.js"));

            bundles.Add(new ScriptBundle("~/bundles/corporationcenter/index").Include(
                       "~/Scripts/CorporationCenter/index.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));

            bundles.Add(new StyleBundle("~/Content/themes/corporationcenter").Include(
                        "~/Content/themes/Global/globaltopbomt.css"));

            bundles.Add(new StyleBundle("~/Content/themes/main/index").Include(
                        "~/Content/themes/Main/index.css"));

            bundles.Add(new StyleBundle("~/Content/themes/corporationcenter/index").Include(
                        "~/Content/themes/CorporationCenter/index.css"));

            bundles.Add(new StyleBundle("~/Content/themes/corporationcenter/info").Include(
                        "~/Content/themes/CorporationCenter/info.css"));

            bundles.Add(new StyleBundle("~/Content/themes/corporationcenter/logo").Include(
                        "~/Content/themes/Global/jquery.Jcrop.css",
                        "~/Content/themes/CorporationCenter/logo.css"));

            bundles.Add(new StyleBundle("~/Content/themes/nannycenter/info").Include(
                        "~/Content/themes/NannyCenter/info.css"));
        }
    }
}